<?php

namespace backend\models\system;

use Yii;
use backend\models\system\SysConfig;

/**
 * ContactForm is the model behind the contact form.
 */
class CoinForm extends SysConfig
{
    public $pay_status;   //支付功能
    public $prompt_message;//支付关闭时的提示信息
    public $alipay_status;//接口状态
    public $alipay_type;//接口类型
    public $alipay_pid;//PID
    public $alipay_key;//Key
    public $alipay_account;//支付宝账户
    public $alipay_trade_status;//启用支付宝交易关闭接口
    public $wechat_status;//接口状态
    public $wechat_pid;//PID
    public $wechat_key;//商户平台Key
	public $wechat_number;//商户号

    /**
     * @inheritdoc 验证规则
     */
    public function rules()
    {
        return [
            [['pay_status','alipay_status','alipay_type','alipay_trade_status','wechat_status'], 'integer'],
            ['prompt_message','string','max'=>300],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'pay_status' => '支付功能',
            'prompt_message' => '支付关闭时的提示信息',
            'alipay_status' => '接口状态',
            'alipay_type' => '接口类型',
            'alipay_pid' => 'PID',
            'alipay_key' => 'Key',
            'alipay_account' => ' 支付宝账户 ',
            'alipay_trade_status' => '启用支付宝交易关闭接口',
            'wechat_status' => '接口状态',
            'wechat_pid' => 'PID',
            'wechat_key' => '商户平台Key',
	        'wechat_number' => '商户号',
        ];
    }



}